﻿<html lang="en">
<head>
       <meta charset="utf-8">
      <title>layui引入示例</title>
      <style type="text/css">
      
             .nav {
                    left: 0;
                    top: 0;
                    position: absolute;
                    width: 100%;
                    height: 56px;
                    background: rgba(255, 0, 0, 0.5);
                }
         
          </style>

</head>
<body>
<p>这是一段文字</p>
<div class="nav">

</div>
</body>
</html>